export interface RoleInfo {
  index?: number;
  roleId: number;
  roleName: string;
  roleDesc: string;
}

export interface PermissionRoleInfo extends RoleInfo {
  companyId: number;
  companyName: string;
}

export interface GetRoleListParams {
  pageNo: number;
  pageSize: number;
  roleName?: string;
  companyId?: number;
}

export interface ModifyPermissionParams {
  permissionIds: number[];
  roleId: number;
}
